package com.jwds.datadiscover.app.powerplant.basic.api;

import org.jretty.apibase.Request;
import org.jretty.apibase.Result;

import com.jwds.datadiscover.app.powerplant.basic.dto.GetDetailDataReq;
import com.jwds.datadiscover.app.powerplant.basic.dto.GetDetailDataRes;
import com.jwds.datadiscover.app.powerplant.basic.dto.GetSampleDataReq;
import com.jwds.datadiscover.app.powerplant.basic.dto.GetSampleDataRes;

import org.hilo.boot.core.BizService;

/**
 * <p>BasicDataQueryService 服务类</p>
 *
 * @author zollty
 * @since 2021-6-15
 */
public interface BasicDataQueryService extends BizService {

    /**
     * 查询抽样数据，作为趋势图展示
     * 
     * @author zollty
      * @since 2021-6-15
     */
    Result<GetSampleDataRes> getSampleData(Request<GetSampleDataReq> req);
    
    /**
     * 查询详细数据，作为表格展示
     * 
     * @author zollty
      * @since 2021-6-15
     */
    Result<GetDetailDataRes> getDetailData(Request<GetDetailDataReq> req);
    
}
